//获取按钮
let requestBtn = document.getElementById('request');
let axios = require('axios');

requestBtn.onclick = async function(){
  //简便发送   axios()   axios.get();
  let result = await axios('http://api.xiaohigh.com/lol');// 默认是 GET 方法

  console.log(result);

}